package website.digitalocean.chapter16;

/**
 * 商品类
 *
 * @author: longhc@citycloud.com.cn
 * @since: 2023/2/16 9:50
 * @version: 1.0
 */
public class Item {

    private String upCode;
    private int price;

    public Item(String upCode, int price) {
        this.upCode = upCode;
        this.price = price;
    }

    public String getUpCode() {
        return upCode;
    }

    public int getPrice() {
        return price;
    }
}
